import Layout from '@/layout'

export default {
  path: '/demo-two-0',
  component: Layout,
  meta: {
    title: 'demo管理',
    icon: 'icon-menu'
  },
  children: [
    {
      path: 'demo-two-1',
      name: 'demo-two-1',
      component: () => import('@/bak/demoTwo/demo.vue'),
      meta: {
        title: 'demo-two-1',
        icon: 'icon-menu',
        roles: [
          'maidou.group.index'
        ]
      },
      children: [
        {
          path: 'demo-two-2',
          name: 'demo-two-2',
          component: () => import('@/bak/demoTwo/demo2.vue'),
          meta: {
            title: 'demo-two-2',
            icon: 'icon-menu',
            roles: [
              'maidou.group.index'
            ]
          }
        },
        {
          path: 'demo-two-3',
          name: 'demo-two-3',
          component: () => import('@/bak/demoTwo/demo3.vue'),
          meta: {
            title: 'demo-two-3',
            icon: 'icon-menu',
            roles: [
              'maidou.group.index'
            ]
          }
        },
        {
          path: 'http://baidu.com',
          meta: {
            title: '百度',
            icon: 'icon-menu',
            roles: [
              'maidou.group.index'
            ]
          }
        }
      ]
    }
  ]
}
